#!/bin/bash

while true

do

ffmpeg -re -f concat -safe 0 -i playlist.txt -vcodec copy -acodec copy -f flv pipe:1.flv | cat - >> push

done